<?php $this->load->view('common/header.php'); ?>
<link rel="stylesheet" href="/static/css/lightbox.css">
<div class="page-top" id="templatemo_services">
</div> <!-- /.page-header -->
<div class="product-list">
    <div class="container">
        <h3 class="widget-title">产品中心</h3>
       
        <?php for($i = 0 ; $i < count($list); $i++): ?>
            <?php if($i % 4 === 0) :?>
                <div class="row">
            <?php endif;?>
             <div class="col-md-3 col-sm-6">
                <a title="点击查看大图" data-lightbox="product" class="litpic" href="<?php echo base_url() . $list[$i]->path?>"><img src="<?php echo base_url() . $list[$i]->path?>" alt=""></a>
                <p class="number">编号：<?php echo $list[$i]->number;?></p>
             </div> <!-- /.col-md-3 -->
            <?php if($i % 4 === 3) :?>
                 </div>
            <?php endif; ?>
        <?php endfor;?>
    </div>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="page">
                    <?php echo $page;?>
                </div>
            </div>
        </div>
    </div>
</div> <!-- /.ticket-list -->
<?php $this->load->view('common/footer.php'); ?>
<script src="<?php echo base_url()?>static/js/lightbox.min.js"></script>
<script>
    App.Product.initialize();
</script>